package event;

import messages.ListPlayersReplyMessage;

/**
 * ListPlayersEventArgs
 * 
 * Provides arguments for the ListPlayers event.
 */
public class ListPlayersEventArgs {
	
	public ListPlayersEventArgs(String playerLogin, ListPlayersReplyMessage message) {
		this.playerLogin = playerLogin;
		this.message = message;
	}
	

	public ListPlayersReplyMessage getMessage() {
		return this.message;
	}
	
	
	public String getPlayerLogin() {
		return playerLogin;
	}
	
		
	private String playerLogin;					// Who requested the list of players?
	private ListPlayersReplyMessage message; 	// message to send
}
